/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础样式 */
body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: #121417;
    color: #ffffff;
    line-height: 1.5;
    overflow-x: hidden;
    /* 确保移动端可以正常滚动 */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* 主容器 */
.main-container {
    max-width: 390px;
    margin: 0 auto;
    background-color: #121417;
    min-height: 100vh;
    position: relative;
    /* 确保容器不会阻止滚动 */
    overflow: visible;
}

/* 点赞提示区域 */
.like-hint {
    background-color: #121417;
    padding: 8px 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
}



.like-hint-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.like-hint-icon {
    font-size: 14px;
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.like-hint-text {
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* 顶部导航栏 */
.header {
    background-color: #121417;
    height: 72px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    width: 100%;
}

.logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -40px;
}

.logo-image {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 4px;
}

.studio-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    flex-grow: 1;
    margin: 0;
}

/* Hero区域 */
.hero-section {
    position: relative;
    height: 218px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 46px;
    padding-left: 16px;
    padding-right: 16px;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.hero-slide.prev {
    opacity: 0;
    transform: translateX(-100%);
}

.hero-slide.next {
    opacity: 0;
    transform: translateX(100%);
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 25%);
    z-index: 2;
}

/* 轮播切换按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background-color: rgba(18, 20, 23, 0.7);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: rgba(18, 20, 23, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 12px;
}

.carousel-next {
    right: 12px;
}

.carousel-arrow {
    width: 8px;
    height: 8px;
    border: 2px solid #ffffff;
    border-top: none;
    border-right: none;
}

.carousel-prev .carousel-arrow {
    transform: rotate(45deg);
    margin-left: 2px;
}

.carousel-next .carousel-arrow {
    transform: rotate(-135deg);
    margin-right: 2px;
}

.carousel-indicators {
    display: flex;
    gap: 8px;
    z-index: 3;
}

.indicator {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background-color: rgba(18, 20, 23, 0.5);
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.indicator.active {
    background-color: #121417;
}

/* 通用标题样式 */
.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    padding: 0 16px;
}

/* 工作室介绍 */
.intro-section {
    padding: 20px 0;
}

.intro-text {
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    line-height: 24px;
    padding: 0 16px;
    margin-bottom: 20px;
}

/* 技术栈区域 */
.skills-section {
    padding: 20px 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 0 16px;
    /* 确保内容不会超出边界 */
    max-width: 100%;
    overflow: hidden;
}

.service-card {
    background-color: #1f2124;
    border: 1px solid #40474f;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 74px;
    /* 确保内容不会超出边界 */
    overflow: hidden;
    word-wrap: break-word;
    word-break: break-word;
}

.service-icon {
    width: 24px;
    height: 24px;
    background-color: #2b3036;
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.service-icon svg {
    width: 16px;
    height: 16px;
}

.service-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 20px;
    /* 处理文本溢出 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

/* 团队介绍 */
.team-section {
    padding: 20px 0;
}

.team-grid {
    display: flex;
    gap: 32px;
    padding: 0 16px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.team-grid::-webkit-scrollbar {
    display: none;
}

.team-member {
    flex-shrink: 0;
    text-align: center;
    width: 128px;
}

.member-avatar {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px auto;
    border: 3px solid #2b3036;
    background-color: #1f2124;
    position: relative;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.member-name {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 4px;
}

.member-role {
    font-size: 14px;
    font-weight: 400;
    color: #a3abb2;
}

/* 作品集 */
.portfolio-section {
    padding: 20px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 0 16px;
}

.portfolio-item {
    margin-bottom: 20px;
}

.portfolio-image {
    width: 100%;
    height: 173px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-title {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 4px;
}

.portfolio-description {
    font-size: 14px;
    font-weight: 400;
    color: #a3abb2;
    line-height: 21px;
}

/* 开源项目 */
.opensource-section {
    padding: 20px 0;
}

.opensource-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 0 16px;
    /* 确保所有项目都能显示 */
    grid-auto-rows: auto;
}

.opensource-item {
    margin-bottom: 20px;
}

.opensource-image {
    width: 100%;
    height: 173px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}

.opensource-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.opensource-title {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 4px;
}

.opensource-description {
    font-size: 14px;
    font-weight: 400;
    color: #a3abb2;
    line-height: 21px;
}

/* 服务范围样式 */
.services-section {
    padding: 20px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 0 16px;
    /* 确保所有项目都能显示 */
    grid-auto-rows: auto;
}

.services-item {
    margin-bottom: 20px;
    background-color: #1f2124;
    border: 1px solid #40474f;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.services-item:hover {
    transform: translateY(-4px) scale(1.02);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.services-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}



.services-title {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 8px;
}

.services-description {
    font-size: 14px;
    font-weight: 400;
    color: #a3abb2;
    line-height: 21px;
}

/* 精选案例样式 */
.cases-section {
    padding: 20px 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 0 16px;
}

.case-item {
    background-color: #1f2124;
    border: 1px solid #40474f;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* 只有可点击的案例才显示指针样式和hover效果 */
.case-item.clickable {
    cursor: pointer;
}

.case-item.clickable:hover {
    transform: translateY(-4px) scale(1.02);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.case-item::after {
    content: "点击查看详情";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
    display: none; /* 默认隐藏 */
}

/* 只有可点击的案例才显示hover提示 */
.case-item.clickable:hover::after {
    opacity: 1;
    display: block;
}

/* 敬请期待提示样式 */
.case-item.coming-soon::after {
    content: "敬请期待";
    background-color: rgba(255, 193, 7, 0.9);
    color: #000000;
    opacity: 0;
    display: none;
}

.case-item.coming-soon:hover::after {
    opacity: 1;
    display: block;
}

.case-image {
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* 1:1 Aspect Ratio */
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
}

.case-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.case-item:hover .case-image::before {
    opacity: 1;
}

.case-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.case-description {
    font-size: 14px;
    font-weight: 400;
    color: #a3abb2;
    margin: 0;
    line-height: 1.4;
}

/* Loading效果样式 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    margin-top: 16px;
    text-align: center;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 防止重复点击的样式 */
.case-item.clickable.loading {
    pointer-events: none;
    opacity: 0.7;
}

.case-item.clickable.loading::after {
    content: "加载中...";
    background-color: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    opacity: 1;
    display: block;
}

/* 项目卡片的loading样式 */
.portfolio-item.loading,
.opensource-item.loading {
    pointer-events: none;
    opacity: 0.7;
}

.portfolio-item.loading::after,
.opensource-item.loading::after {
    content: "加载中...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    opacity: 1;
    z-index: 10;
}

/* 联系方式 */
.contact-section {
    padding: 20px 0;
}

.contact-info {
    padding: 0 16px;
}

.contact-item {
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 24px;
}

.contact-link {
    color: #4a9eff;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.contact-link:hover {
    color: #66b3ff;
    text-decoration: underline;
}

.contact-link:active {
    color: #3385d6;
}

/* 教育经历 */
.education-section {
    padding: 20px 0;
}

.education-list {
    padding: 0 16px;
}

.education-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background-color: #1f2124;
    border: 1px solid #40474f;
    border-radius: 12px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    /* 确保横向布局 */
    flex-direction: row;
}

.education-item:hover {
    background-color: #2b3036;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.education-logo {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #2b3036;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid #40474f;
}

.education-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.education-info {
    flex: 1;
    min-width: 0;
}

.education-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.education-school {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
}

.education-major {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.3;
}

.education-period {
    font-size: 14px;
    font-weight: 400;
    color: #a3abb2;
    margin: 0;
    line-height: 1.4;
}

.education-degree {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    background-color: #2b3036;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    line-height: 1.4;
}

.education-tag {
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
    background-color: #4a90e2;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
    line-height: 1.4;
    white-space: nowrap;
}

/* 社交媒体 (保留原有样式，以防其他地方使用) */
.social-section {
    padding: 20px 0;
}

.social-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 0 16px;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 80px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: #2b3036;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-placeholder {
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border-radius: 2px;
}

.social-name {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
}



/* 响应式设计 */
@media (max-width: 390px) {
    .main-container {
        width: 100%;
    }
    
    .like-hint {
        padding: 6px 12px;
    }
    
    .like-hint-text {
        font-size: 11px;
    }
    
    .like-hint-icon {
        font-size: 12px;
    }
    
    /* 教育经历移动端优化 */
    .education-item {
        flex-direction: row;
        text-align: left;
        gap: 12px;
        padding: 16px;
    }
    
    .education-logo {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }
    
    .education-header {
        gap: 8px;
        margin-bottom: 6px;
    }
    
    .education-school {
        font-size: 14px;
        margin: 0;
    }
    
    .education-major {
        font-size: 12px;
    }
    
    .education-period {
        font-size: 11px;
        margin: 0;
    }
    
    .education-degree {
        font-size: 10px;
        padding: 2px 6px;
    }
    
    .education-tag {
        font-size: 9px;
        padding: 1px 6px;
    }
    
    .education-info {
        flex: 1;
        min-width: 0;
    }
    
    /* 技术栈移动端优化 */
    .skills-grid {
        gap: 12px;
        padding: 0 12px;
    }
    
    .service-card {
        padding: 12px;
        gap: 8px;
        min-height: 60px;
    }
    
    .service-icon {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }
    
    .service-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .service-title {
        font-size: 14px;
        line-height: 18px;
    }
}

/* 移动端滚动优化 */
@media (max-width: 768px) {
    html, body {
        /* 确保移动端可以正常滚动 */
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        /* 防止iOS Safari的弹性滚动问题 */
        position: relative;
        height: auto;
        min-height: 100vh;
    }
    
    .main-container {
        /* 确保容器不会限制滚动 */
        overflow: visible;
        height: auto;
        min-height: 100vh;
    }
    
    /* 修复iOS Safari的滚动问题 */
    * {
        -webkit-tap-highlight-color: transparent;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: #1f2124;
}

::-webkit-scrollbar-thumb {
    background: #40474f;
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.team-member,
.portfolio-item,
.opensource-item {
    animation: fadeIn 0.6s ease-out;
}

/* 悬停效果 */
.service-card:hover {
    background-color: #2b3036;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.portfolio-item:hover,
.opensource-item:hover {
    transform: translateY(-4px) scale(1.02);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* 项目卡片点击提示 */
.portfolio-item,
.opensource-item {
    position: relative;
    overflow: hidden;
}

.portfolio-item::after,
.opensource-item::after {
    content: "点击查看详情";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.portfolio-item:hover::after,
.opensource-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* 项目图片悬停效果 */
.portfolio-image,
.opensource-image {
    position: relative;
    overflow: hidden;
}

.portfolio-image::before,
.opensource-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.portfolio-item:hover .portfolio-image::before,
.opensource-item:hover .opensource-image::before {
    opacity: 1;
}

.social-item:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* 加载动画 */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* 焦点样式 */
.nav-item:focus,
.service-card:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* 打印样式 */
@media print {
    .social-section {
        display: none;
    }
    
    .main-container {
        max-width: none;
        background-color: white;
        color: black;
    }
}

/* 底部统计和互动区域 */
.footer-section {
    padding: 32px 16px 40px;
    background-color: #121417;
    border-top: 1px solid #2a2d31;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 358px;
    margin: 0 auto;
}

/* 统计容器 */
.stats-container {
    display: flex;
    align-items: center;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64b5f6;
}

.stat-icon svg {
    width: 20px;
    height: 20px;
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-number {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: #b0b3b8;
    line-height: 1;
}

/* 点赞容器 */
.like-container {
    display: flex;
    align-items: center;
}

.like-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background-color: #1a1d21;
    border: 1px solid #2a2d31;
    border-radius: 24px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.like-button:hover {
    background-color: #2a2d31;
    border-color: #64b5f6;
    transform: translateY(-1px);
}

.like-button:active {
    transform: translateY(0);
}

.like-button.liked {
    background-color: #e91e63;
    border-color: #e91e63;
    color: #ffffff;
}

.like-button.liked .like-icon {
    color: #ffffff;
}

.like-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b3b8;
    transition: all 0.3s ease;
}

.like-icon svg {
    width: 16px;
    height: 16px;
}

.like-button:hover .like-icon {
    color: #64b5f6;
}

.like-button.liked .like-icon {
    color: #ffffff;
}

.like-text {
    font-size: 14px;
    font-weight: 500;
}

.like-count {
    font-size: 12px;
    color: #b0b3b8;
    background-color: #2a2d31;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

.like-button.liked .like-count {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* 点赞动画效果 */
@keyframes likeAnimation {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.like-button.liked .like-icon {
    animation: likeAnimation 0.3s ease;
}

/* 响应式设计 */
@media (max-width: 390px) {
    .footer-content {
        /* 保持水平排列，但缩小间距 */
        flex-direction: row;
        gap: 8px;
        padding: 16px 12px;
        justify-content: space-between;
    }
    
    .stats-container {
        /* 缩小统计区域的间距 */
        gap: 8px;
    }
    
    .stat-item {
        gap: 6px;
    }
    
    .stat-icon {
        width: 20px;
        height: 20px;
    }
    
    .stat-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .stat-number {
        font-size: 16px;
    }
    
    .stat-label {
        font-size: 10px;
    }
    
    .like-container {
        /* 缩小点赞按钮 */
        flex-shrink: 0;
    }
    
    .like-button {
        padding: 8px 12px;
        gap: 6px;
        font-size: 12px;
    }
    
    .like-icon {
        width: 16px;
        height: 16px;
    }
    
    .like-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .like-text {
        font-size: 12px;
    }
    
    .like-count {
        font-size: 10px;
        padding: 1px 4px;
        min-width: 16px;
    }
}

/* 针对极小屏幕的额外优化 */
@media (max-width: 320px) {
    .footer-content {
        gap: 4px;
        padding: 12px 8px;
    }
    
    .stats-container {
        gap: 4px;
    }
    
    .stat-item {
        gap: 4px;
    }
    
    .stat-icon {
        width: 18px;
        height: 18px;
    }
    
    .stat-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .stat-number {
        font-size: 14px;
    }
    
    .stat-label {
        font-size: 9px;
    }
    
    .like-button {
        padding: 6px 8px;
        gap: 4px;
        font-size: 11px;
    }
    
    .like-icon {
        width: 14px;
        height: 14px;
    }
    
    .like-icon svg {
        width: 12px;
        height: 12px;
    }
    
    .like-text {
        font-size: 11px;
    }
    
    .like-count {
        font-size: 9px;
        padding: 1px 3px;
        min-width: 14px;
    }
}

/* 工作室口号样式 */
.slogan-section {
    background: linear-gradient(180deg, 
        #121417 0%, 
        #121417 15%, 
        #121417 25%, 
        #1a1a2e 45%, 
        #16213e 75%, 
        #0f3460 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    margin: 0 -16px;
    width: calc(100% + 32px);
    /* 添加顶部渐变遮罩来消除分割线 */
    mask-image: linear-gradient(to bottom, transparent 0%, transparent 5%, black 15%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 5%, black 15%);
}

.slogan-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.slogan-container {
    text-align: center;
    position: relative;
    z-index: 2;
}

.slogan-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.slogan-word {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(30px);
    animation: sloganFadeIn 0.8s ease-out forwards;
    background: linear-gradient(45deg, #3b82f6, #10b981, #f59e0b);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: sloganFadeIn 0.8s ease-out forwards, gradientShift 3s ease-in-out infinite;
}

.slogan-professional {
    animation-delay: 0.2s;
}

.slogan-proven {
    animation-delay: 0.4s;
}

.slogan-proactive {
    animation-delay: 0.6s;
}

.slogan-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.decoration-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    animation: lineGlow 2s ease-in-out infinite;
}

.decoration-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: dotPulse 1.5s ease-in-out infinite;
}

@keyframes sloganFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes lineGlow {
    0%, 100% {
        opacity: 0.6;
        transform: scaleX(1);
    }
    50% {
        opacity: 1;
        transform: scaleX(1.2);
    }
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

/* 响应式设计 */
@media (max-width: 390px) {
    .slogan-section {
        padding: 30px 0;
        margin: 0 -16px;
        width: calc(100% + 32px);
        /* 移动端也应用相同的遮罩效果 */
        mask-image: linear-gradient(to bottom, transparent 0%, transparent 5%, black 15%);
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 5%, black 15%);
    }
    
    .slogan-word {
        font-size: 20px;
        letter-spacing: 1.5px;
    }
    
    .decoration-line {
        width: 30px;
    }
    
    .decoration-dot {
        width: 6px;
        height: 6px;
    }
} 